#!/bin/ash

set -e

bin=`dirname "$0"`
bin=`cd "$bin"; pwd`

. "$bin"/config.sh

source "$bin"/config.sh

pid=$(findPID)

if [ -z "$pid" ]; then
    startGateway
else
      echo "进程已经存在"
      exit  1
fi

exit  0


